package com.panshi.config;

//@EnableTransactionManagement // 开启事务
//@MapperScan("com.hasbei.mapper") // 扫描mapper接口
//@Configuration
public class MyBatisPlusConfig {
/*

    @Bean //注册乐观锁
    public OptimisticLockerInterceptor optimisticLockerInterceptor() {
        return new OptimisticLockerInterceptor();
    }

    @Bean // 分页插件
    public PaginationInterceptor paginationInterceptor() {
        return new PaginationInterceptor();
    }

*/

}
